package haltica.com.mx.ape.domain;

import java.util.Set;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooEntity(versionField = "", table = "tipo_operacion")
public class TipoOperacion {
	@Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "ID_TIPO_OPER", length = 10)
    private String idTipoOper;
	
	@OneToMany(mappedBy = "idTipoOper")
    private Set<Requerimientos> requerimientoss;
    
    @Column(name = "DESCRIPCION_LARGA", length = 50)
    private String descripcionLarga;
    
    @Column(name = "DESCRIPCION_CORTA", length = 15)
    private String descripcionCorta;
}
